package com.crmweb.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crmweb.dao.DynamicmMessagesDao;
import com.crmweb.entity.DynamicmMessages;
import com.crmweb.service.DynamicmMessagesService;
@Service
public class DynamicmMessagesServiceImpl implements DynamicmMessagesService{
@Autowired
private DynamicmMessagesDao dmd;
	@Override
	public int addDynamicmMessages(DynamicmMessages dm) {
		// TODO Auto-generated method stub
		return dmd.addDynamicmMessages(dm);
	}
	@Override
	public int getCountDMByAskerId() {
		// TODO Auto-generated method stub
		return dmd.getCountDMByAskerId();
	}
	@Override
	public List<DynamicmMessages> selAllByAskId(String isOpen) {
		// TODO Auto-generated method stub
		return dmd.selAllByAskId(isOpen);
	}
	@Override
	public int updDMYD(int id) {
		// TODO Auto-generated method stub
		return dmd.updDMYD(id);
	}
	@Override
	public int delDMYD(int id) {
		// TODO Auto-generated method stub
		return dmd.delDMYD(id);
	}
	@Override
	public int getcountBuWhere(String isOpen) {
		// TODO Auto-generated method stub
		return dmd.getcountBuWhere(isOpen);
	}

}
